﻿using MediatR;
using PublicClass;
using System.ComponentModel.DataAnnotations;

namespace S.Services.SheepMale.Api.Application.Command.SheepMaleCommand
{
    public class SheepMomAddCommand : IRequest<int>
    {
        /// <summary>
        /// 期初编号
        /// </summary>
        public int MaleId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        [StringLength(50)]
        public string? Earbugles { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        [StringLength(50)]
        public string? CottageName { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        [StringLength(50)]
        public string? FieldName { get; set; }
        /// <summary>
        /// 只数
        /// </summary>
        public int NumberMale { get; set; }
        /// <summary>
        /// 公斤
        /// </summary>
        public int WeighMale { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public SheepType SheepType { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        [StringLength(50)]
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime? MaleDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 转种日期
        /// </summary>
        public DateTime? ConvertDate { get; set; }
    }
}
